﻿<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"  content="width=device-width">
<title>js数字框输入自动跳格代码</title>

<script src="js/BrowserUtil.js"></script>
<script src="js/verifyCode.js"></script>

<link href="css/verifyCode.css" rel="stylesheet">
<style>
	*{
		box-sizing: border-box;
		padding: 0;
		margin: 0;
	}
	#codeDiv{
		margin: 0 auto;
		margin-top: 20%;
	}
</style>

</head>
<body>

<div id="codeDiv" align="center"></div>

<script>
verifyCodeDOMUtil.buildCodeModule("codeDiv", "code")
verifyCode.init("code")

let object = {
	alert : function (value) {
		alert(value)
	}
}

verifyCode.that = object
verifyCode.onFinish = function (value,that) {
	that.alert(value)
}

</script>


</body>
</html>